package mihoyo.kqcc.globeException;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum GlobeExceptionEnum {
    OK ("1","请求成功"),
    GLOBE_ERROR ("-1","请求失败"),
    COMMON_ERROR_IS_NULL ("1001","参数为空"),
    COMMON_ERROR_UUID_IS_NULL ("1003","请刷新页面"),
    COMMON_ERROR_ILLEGAL_PARAMETER ("1002","非法参数"),
    USER_EXISTEF_ERROR("3001","用户已存在"),
    USER_SAVE_ERROR("3002","用户保存失败"),
    USER_CODE_EXISTEF_ERROR("3003","用户已完成过推荐"),
    USER_EXISTEF_BLACKLIST_ERROR("4001","用户已被拉黑"),
    USER_BLACKLIST_ERROR("4002","您已经被禁⽤发送短信验证码，请联系管理员"),
    COMM_PHONE_FORMAT_ERROR("5001","手机号格式有误"),
    COMM_CAPTCHAS_NOT_MATCH_ERROR("5002","图像验证码不正确"),
    COMM_VERIFICATION_NOT_MATCH_ERROR("5003","手机验证码不正确"),
    COMM_GET_CODE_ERROR("5004","请误频繁获取验证码"),
    COURSE_DURATION_ERROR("2001","课程时间设置有误"),
    ;
    private String ecode;
    private String emsg;
}
